package cn.bfay.lion.jingdong.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * 商品基本信息.
 *
 * @author wangjiannan
 */
@FeignClient(url = "https://yx.3.cn", name = "jdProductBaseInfoClient", configuration = JdProductClientConfiguration.class)
public interface JdProductBaseInfoClient {

    /**
     * 商品信息.
     *
     * @param ids ids,多个用逗号分隔
     * @return string
     */
    @GetMapping(value = "/service/info.action")
    String getContent(@RequestParam(name = "ids") String ids);
}